import request from './../../utils/index';

//用户信息
export let myDetail = (params)=>{
    return request.get('user',params)
}

//我的收藏
export let myCollectionList=(params)=>{
    return request.get("user/favorites",params)
}

//收藏接口
export let myco=()=>{
    return request.post("https://appapi.5i5j.com/appapi/exchange/1/v1/prolist")
}

//无感登录接口
export let login = (code)=>{
    return request.post("http://123.206.55.50:7001/user/code2session",{code})
}

//支付接口
export let pay =(data)=>{
    return request.post("http://123.206.55.50:7001/sign/pay",data)
}